using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
using System.Data;
using System.Configuration;
using QuanLyThietBi.Config;     
using QuanLyThietBi.Entity;
namespace QuanLyThietBi.ManagerBase
{
                

     public abstract class TBL_DanhSachThietBiManagerBase
    {
        public TBL_DanhSachThietBiManagerBase()
        {
            Adapter.ConnectionString =  ConnectionConfig.ConnectionString;            
        }
                    
 
        /// <summary>
        /// Them moi du lieu
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity Insert(TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity) Adapter.Insert(obj);             
        }
 
 
        /// <summary>
        /// Update du lieu theo khoa chinh cua object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity Update(TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.Update(obj);             
        }
 
 
        /// <summary>
        /// Update du lieu theo dieu kien trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity UpdateWithCondition(TBL_DanhSachThietBiEntity obj,TBL_DanhSachThietBiEntity objCond)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.UpdateWithCondition(obj,objCond);             
        }
 
 
        public TBL_DanhSachThietBiEntity Delete(TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.Delete(obj);             
        }
 
 
        public TBL_DanhSachThietBiEntity DeleteWithCondition(TBL_DanhSachThietBiEntity objCond)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteWithCondition(objCond);             
        }
 


        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HanBaoHanh duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByHanBaoHanh (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"HanBaoHanh");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HanBaoHanh 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByHanBaoHanh (string HanBaoHanh )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HanBaoHanh = HanBaoHanh;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"HanBaoHanh");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HangSanXuat duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByHangSanXuat (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"HangSanXuat");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HangSanXuat 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByHangSanXuat (string HangSanXuat )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HangSanXuat = HangSanXuat;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"HangSanXuat");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MaCaBiet duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByMaCaBiet (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"MaCaBiet");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MaCaBiet 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByMaCaBiet (string MaCaBiet )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCaBiet = MaCaBiet;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"MaCaBiet");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MaCTPN duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByMaCTPN (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"MaCTPN");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MaCTPN 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByMaCTPN (string MaCTPN )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCTPN = MaCTPN;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"MaCTPN");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MaTB duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByMaTB (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"MaTB");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MaTB 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByMaTB (string MaTB )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaTB = MaTB;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"MaTB");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien NamSanXuat duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByNamSanXuat (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"NamSanXuat");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien NamSanXuat 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByNamSanXuat (string NamSanXuat )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NamSanXuat = NamSanXuat;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"NamSanXuat");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien NgayNhap duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByNgayNhap (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"NgayNhap");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien NgayNhap 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByNgayNhap (string NgayNhap )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NgayNhap = NgayNhap;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"NgayNhap");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien NguoiNhap duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByNguoiNhap (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"NguoiNhap");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien NguoiNhap 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByNguoiNhap (string NguoiNhap )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NguoiNhap = NguoiNhap;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"NguoiNhap");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien TinhTrang duoc set trong object
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByTinhTrang (TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"TinhTrang");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien TinhTrang 
        /// </summary>
        /// <returns>TBL_DanhSachThietBiEntity</returns>
        public TBL_DanhSachThietBiEntity DeleteByTinhTrang (string TinhTrang )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.TinhTrang = TinhTrang;  
            return (TBL_DanhSachThietBiEntity)Adapter.DeleteByField(obj,"TinhTrang");
        }

 
        /// <summary>
        /// Lay du lieu theo khoa chinh object
        /// </summary>
        /// <returns></returns>
        public TBL_DanhSachThietBiEntity Select(TBL_DanhSachThietBiEntity obj)
        { 
            return (TBL_DanhSachThietBiEntity) Adapter.Select(obj);             
        }
 
 
        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns></returns>
        public DataTable SelectWithCondition(TBL_DanhSachThietBiEntity obj)
        { 
            return  Adapter.SelectWithCondition(obj);             
        }
 
 
        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns></returns>
        public DataTable SelectWithCondition(TBL_DanhSachThietBiEntity obj,SelectOptions option)
        {             
            return  Adapter.SelectWithCondition(obj,option);             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public DataTable SelectAll()
        { 
            return Adapter.SelectAll(new TBL_DanhSachThietBiEntity());             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public DataTable SelectAll(SelectOptions option)
        { 
            return Adapter.SelectAll(new TBL_DanhSachThietBiEntity(),option);             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public List<TBL_DanhSachThietBiEntity> SelectAllLST()
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectAll(new TBL_DanhSachThietBiEntity()),new TBL_DanhSachThietBiEntity());           
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public List<TBL_DanhSachThietBiEntity> SelectAllLST(SelectOptions option)
        { 
            return (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectAll(new TBL_DanhSachThietBiEntity(),option),new TBL_DanhSachThietBiEntity());             
        }
 

        /// <summary>
        /// Lay du lieu theo cac dieu kien HanBaoHanh duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHanBaoHanh (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"HanBaoHanh");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HanBaoHanh duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHanBaoHanh (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HanBaoHanh",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HanBaoHanh duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByHanBaoHanhLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HanBaoHanh"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HanBaoHanh duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByHanBaoHanhLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HanBaoHanh",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HanBaoHanh 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHanBaoHanh (string HanBaoHanh )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HanBaoHanh = HanBaoHanh;  
            return Adapter.SelectByField(obj,"HanBaoHanh");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HanBaoHanh duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHanBaoHanh (string HanBaoHanh, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HanBaoHanh = HanBaoHanh;  
            return Adapter.SelectByField(obj,"HanBaoHanh",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HanBaoHanh 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByHanBaoHanhLST (string HanBaoHanh )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HanBaoHanh = HanBaoHanh;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HanBaoHanh"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HanBaoHanh duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByHanBaoHanhLST (string HanBaoHanh, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HanBaoHanh = HanBaoHanh;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HanBaoHanh",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HangSanXuat duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHangSanXuat (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"HangSanXuat");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HangSanXuat duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHangSanXuat (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HangSanXuat",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HangSanXuat duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByHangSanXuatLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HangSanXuat"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HangSanXuat duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByHangSanXuatLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HangSanXuat",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HangSanXuat 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHangSanXuat (string HangSanXuat )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HangSanXuat = HangSanXuat;  
            return Adapter.SelectByField(obj,"HangSanXuat");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HangSanXuat duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHangSanXuat (string HangSanXuat, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HangSanXuat = HangSanXuat;  
            return Adapter.SelectByField(obj,"HangSanXuat",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HangSanXuat 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByHangSanXuatLST (string HangSanXuat )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HangSanXuat = HangSanXuat;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HangSanXuat"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HangSanXuat duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByHangSanXuatLST (string HangSanXuat, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.HangSanXuat = HangSanXuat;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HangSanXuat",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCaBiet duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaCaBiet (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"MaCaBiet");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCaBiet duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaCaBiet (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"MaCaBiet",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCaBiet duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaCaBietLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaCaBiet"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCaBiet duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaCaBietLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"MaCaBiet",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCaBiet 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaCaBiet (string MaCaBiet )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCaBiet = MaCaBiet;  
            return Adapter.SelectByField(obj,"MaCaBiet");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCaBiet duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaCaBiet (string MaCaBiet, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCaBiet = MaCaBiet;  
            return Adapter.SelectByField(obj,"MaCaBiet",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCaBiet 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaCaBietLST (string MaCaBiet )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCaBiet = MaCaBiet;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaCaBiet"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCaBiet duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaCaBietLST (string MaCaBiet, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCaBiet = MaCaBiet;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaCaBiet",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCTPN duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaCTPN (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"MaCTPN");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCTPN duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaCTPN (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"MaCTPN",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCTPN duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaCTPNLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaCTPN"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCTPN duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaCTPNLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"MaCTPN",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCTPN 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaCTPN (string MaCTPN )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCTPN = MaCTPN;  
            return Adapter.SelectByField(obj,"MaCTPN");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCTPN duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaCTPN (string MaCTPN, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCTPN = MaCTPN;  
            return Adapter.SelectByField(obj,"MaCTPN",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCTPN 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaCTPNLST (string MaCTPN )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCTPN = MaCTPN;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaCTPN"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaCTPN duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaCTPNLST (string MaCTPN, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaCTPN = MaCTPN;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaCTPN",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaTB duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaTB (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"MaTB");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaTB duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaTB (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"MaTB",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaTB duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaTBLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaTB"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaTB duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaTBLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"MaTB",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaTB 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaTB (string MaTB )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaTB = MaTB;  
            return Adapter.SelectByField(obj,"MaTB");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaTB duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMaTB (string MaTB, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaTB = MaTB;  
            return Adapter.SelectByField(obj,"MaTB",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaTB 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaTBLST (string MaTB )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaTB = MaTB;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaTB"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MaTB duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByMaTBLST (string MaTB, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.MaTB = MaTB;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MaTB",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NamSanXuat duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNamSanXuat (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"NamSanXuat");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NamSanXuat duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNamSanXuat (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"NamSanXuat",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NamSanXuat duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNamSanXuatLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NamSanXuat"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NamSanXuat duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNamSanXuatLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"NamSanXuat",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NamSanXuat 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNamSanXuat (string NamSanXuat )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NamSanXuat = NamSanXuat;  
            return Adapter.SelectByField(obj,"NamSanXuat");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NamSanXuat duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNamSanXuat (string NamSanXuat, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NamSanXuat = NamSanXuat;  
            return Adapter.SelectByField(obj,"NamSanXuat",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NamSanXuat 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNamSanXuatLST (string NamSanXuat )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NamSanXuat = NamSanXuat;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NamSanXuat"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NamSanXuat duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNamSanXuatLST (string NamSanXuat, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NamSanXuat = NamSanXuat;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NamSanXuat",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NgayNhap duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNgayNhap (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"NgayNhap");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NgayNhap duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNgayNhap (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"NgayNhap",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NgayNhap duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNgayNhapLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NgayNhap"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NgayNhap duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNgayNhapLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"NgayNhap",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NgayNhap 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNgayNhap (string NgayNhap )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NgayNhap = NgayNhap;  
            return Adapter.SelectByField(obj,"NgayNhap");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NgayNhap duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNgayNhap (string NgayNhap, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NgayNhap = NgayNhap;  
            return Adapter.SelectByField(obj,"NgayNhap",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NgayNhap 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNgayNhapLST (string NgayNhap )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NgayNhap = NgayNhap;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NgayNhap"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NgayNhap duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNgayNhapLST (string NgayNhap, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NgayNhap = NgayNhap;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NgayNhap",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NguoiNhap duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNguoiNhap (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"NguoiNhap");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NguoiNhap duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNguoiNhap (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"NguoiNhap",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NguoiNhap duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNguoiNhapLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NguoiNhap"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NguoiNhap duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNguoiNhapLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"NguoiNhap",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NguoiNhap 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNguoiNhap (string NguoiNhap )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NguoiNhap = NguoiNhap;  
            return Adapter.SelectByField(obj,"NguoiNhap");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NguoiNhap duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByNguoiNhap (string NguoiNhap, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NguoiNhap = NguoiNhap;  
            return Adapter.SelectByField(obj,"NguoiNhap",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NguoiNhap 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNguoiNhapLST (string NguoiNhap )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NguoiNhap = NguoiNhap;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NguoiNhap"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien NguoiNhap duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByNguoiNhapLST (string NguoiNhap, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.NguoiNhap = NguoiNhap;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"NguoiNhap",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien TinhTrang duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByTinhTrang (TBL_DanhSachThietBiEntity obj)
        { 
            return Adapter.SelectByField(obj,"TinhTrang");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien TinhTrang duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByTinhTrang (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"TinhTrang",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien TinhTrang duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByTinhTrangLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"TinhTrang"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien TinhTrang duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectByTinhTrangLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"TinhTrang",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien TinhTrang 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByTinhTrang (string TinhTrang )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.TinhTrang = TinhTrang;  
            return Adapter.SelectByField(obj,"TinhTrang");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien TinhTrang duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByTinhTrang (string TinhTrang, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.TinhTrang = TinhTrang;  
            return Adapter.SelectByField(obj,"TinhTrang",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien TinhTrang 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByTinhTrangLST (string TinhTrang )
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.TinhTrang = TinhTrang;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"TinhTrang"),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien TinhTrang duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<TBL_DanhSachThietBiEntity> SelectByTinhTrangLST (string TinhTrang, SelectOptions option)
        { 
            TBL_DanhSachThietBiEntity obj = new TBL_DanhSachThietBiEntity();
            obj.TinhTrang = TinhTrang;  
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"TinhTrang",option),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectWithConditionLST (TBL_DanhSachThietBiEntity obj)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectWithCondition(obj),new TBL_DanhSachThietBiEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns>List<TBL_DanhSachThietBiEntity></returns>
        public List<TBL_DanhSachThietBiEntity> SelectWithConditionLST (TBL_DanhSachThietBiEntity obj,SelectOptions option)
        { 
            return  (List<TBL_DanhSachThietBiEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectWithCondition(obj,option),new TBL_DanhSachThietBiEntity());
        }

}
}
